package com.github.thinwonton.springboot.showcase.jdbc.dao;

import com.github.thinwonton.springboot.showcase.jdbc.domain.Account;

import java.util.List;

public interface AccountDao {
    int insert(Account account);

    int update(Account account);

    int delete(Long id);

    Account getById(Long id);

    List<Account> list();
}